lcEntType | Home |
BOOL lcEntType ( HANDLE hEntity, int Type ); |
hEntity | |
Handle to a graphic object. | |
Type | |
Type of entity, one of the LC_ENT_... values. |
TRUE if the entity matches the specified type. |
HANDLE hEnt; double R; hEnt = lcBlockGetFirstEnt( hBlock ); if (hEnt != 0){ if (lcEntType( hEnt, LC_ENT_CIRCLE ) == TRUE){ R = lcPropGetFloat( hEnt, LC_PROP_CIRCLE_RAD ); } }